package com.upcode.weighing.vo.req.app;

import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * @author ZYW
 * @date 2018/5/15
 */
public class UserInfoReqVo implements Serializable {
    /**
     * 手机号
     */
    private String mobileNo;
    /**
     * 姓名
     */
    @Length(max = 50,message = "名称长度超长！")
    private String name;
    /**
     * 电子邮箱
     */
    @Length(max = 100,message = "邮箱长度超长！")
    private String email;
    /**
     * 头像地址
     */
    private String photoAddr;
    /**
     * 短信推送标志. 0-关闭  1-打开
     */
    private Integer smsPushFlag;
    /**
     * 无感支付开关. 0-关闭  1-打开
     */
    private Integer nocensceFlag;

    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhotoAddr() {
        return photoAddr;
    }

    public void setPhotoAddr(String photoAddr) {
        this.photoAddr = photoAddr;
    }

    public Integer getSmsPushFlag() {
        return smsPushFlag;
    }

    public void setSmsPushFlag(Integer smsPushFlag) {
        this.smsPushFlag = smsPushFlag;
    }

    public Integer getNocensceFlag() {
        return nocensceFlag;
    }

    public void setNocensceFlag(Integer nocensceFlag) {
        this.nocensceFlag = nocensceFlag;
    }
}
